define({ "api": [
  {
    "type": "post",
    "url": "/app/token",
    "title": "根据code + salt换算token，过期需要重新生成",
    "name": "token",
    "group": "Application",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "code",
            "description": "<p>AppCode</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "salt",
            "description": "<p>AppSalt</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>数据对象</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.desc",
            "description": "<p>描述</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.expire",
            "description": "<p>过期日期时间</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.status",
            "description": "<p>用户状态 0:作废 1:正常</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.token",
            "description": "<p>验证token</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/application.js",
    "groupTitle": "Application",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/app/token"
      }
    ]
  },
  {
    "type": "get",
    "url": "/categories",
    "title": "侵权词分类列表",
    "name": "categories",
    "description": "<p>侵权词分类列表</p>",
    "group": "Tortious",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": true,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "array[object]",
            "optional": false,
            "field": "data",
            "description": "<p>数据列表</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.id",
            "description": "<p>分类ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.name",
            "description": "<p>分类主名称</p>"
          },
          {
            "group": "Success 200",
            "type": "array[string]",
            "optional": false,
            "field": "data.subclass",
            "description": "<p>子分类名称列表</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/categories.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/categories"
      }
    ]
  },
  {
    "type": "post",
    "url": "/tortious",
    "title": "批量作废侵权词",
    "name": "delete-tortious-list",
    "description": "<p>批量作废侵权词</p>",
    "group": "Tortious",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "array[int]",
            "optional": false,
            "field": "tort_word_ids",
            "description": "<p>批量作废侵权词ID</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": true,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/tortious.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/tortious"
      }
    ]
  },
  {
    "type": "post",
    "url": "/infringement-check",
    "title": "侵权检测(异步)",
    "name": "infringement",
    "description": "<p>检测包含哪些侵权词</p>",
    "group": "Tortious",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "callback_url",
            "description": "<p>检测结果回调地址</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "categorie_id",
            "description": "<p>类别ID 不选即所有分类</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "source",
            "description": "<p>站点源</p>"
          },
          {
            "group": "Parameter",
            "type": "array[object]",
            "optional": false,
            "field": "texts",
            "description": "<p>待检测文本列表</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "texts.key",
            "description": "<p>待检测文本标识</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "texts.text",
            "description": "<p>待检测文本内容</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>--</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.sign",
            "description": "<p>参数签名</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/infringement-check.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/infringement-check"
      }
    ]
  },
  {
    "type": "get",
    "url": "/check-info/:sign",
    "title": "检测结果(异步)",
    "name": "infringement-info",
    "description": "<p>检测包含哪些侵权词(保留两天内的数据)  sign  参数签名</p>",
    "group": "Tortious",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>检测结果数据</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data.key",
            "description": "<p>文本标识对应的侵权词列表</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/infringement-check.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/check-info/:sign"
      }
    ]
  },
  {
    "type": "get",
    "url": "/latest-tortious-info",
    "title": "最新入库详情",
    "name": "latest-tortious-info",
    "description": "<p>最新入库详情，即:抓取的最新时间信息</p>",
    "group": "Tortious",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>数据</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.last_sync_time",
            "description": "<p>最新上次同步时间</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.app_data",
            "description": "<p>最新侵权词时间</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.count",
            "description": "<p>总词数</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.trafficStatistics",
            "description": "<p>爬取流量统计</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/tortious.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/latest-tortious-info"
      }
    ]
  },
  {
    "type": "post",
    "url": "/infringement-check-multi",
    "title": "多分类侵权检测(异步)",
    "name": "multi-infringement",
    "description": "<p>多分类检测包含哪些侵权词</p>",
    "group": "Tortious",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "by_word",
            "defaultValue": "1",
            "description": "<p>是否按词检测,即按词检测即词的两端加一个空格去匹配 <br/> 1:按词组   0：不安词组</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "callback_url",
            "description": "<p>检测结果回调地址</p>"
          },
          {
            "group": "Parameter",
            "type": "array[string]",
            "optional": false,
            "field": "categorie_ids",
            "description": "<p>类别ID列表</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "source",
            "description": "<p>站点源</p>"
          },
          {
            "group": "Parameter",
            "type": "array[object]",
            "optional": false,
            "field": "texts",
            "description": "<p>待检测文本列表</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "texts.key",
            "description": "<p>待检测文本标识</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "texts.text",
            "description": "<p>待检测文本内容</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>--</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.sign",
            "description": "<p>参数签名</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/infringement-check.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/infringement-check-multi"
      }
    ]
  },
  {
    "type": "put",
    "url": "/tortious/:tort_word_id",
    "title": "恢复/作废 侵权词",
    "name": "recovery-tortious_tort_word_id_#清权祠ID",
    "description": "<p>恢复/作废 侵权词</p>",
    "group": "Tortious",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": true,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "state",
            "defaultValue": "1",
            "description": "<p>操作状态 1：恢复侵权词 0:作废侵权词</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/tortious.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/tortious/:tort_word_id"
      }
    ]
  },
  {
    "type": "get",
    "url": "/tortious",
    "title": "侵权词列表 (展示查询)",
    "name": "show-tortious-list",
    "description": "<p>侵权词列表</p>",
    "group": "Tortious",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": true,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "size": "1-200",
            "optional": true,
            "field": "page_size",
            "defaultValue": "50",
            "description": "<p>每页大小</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "source",
            "description": "<p>站点</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "category_id",
            "description": "<p>分类ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string|array[string]",
            "optional": true,
            "field": "word",
            "description": "<p>侵权词 支持模糊搜索和精准搜索   string:模糊搜索  array[string]:精准搜索</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "updated_stime",
            "description": "<p>上次更新时间起 13位</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "updated_etime",
            "description": "<p>上次更新时间止 13位</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "size": "1-200",
            "optional": false,
            "field": "page_size",
            "description": "<p>每页大小</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "count",
            "description": "<p>查询总量</p>"
          },
          {
            "group": "Success 200",
            "type": "array[object]",
            "optional": false,
            "field": "rows",
            "description": "<p>数据列表</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.tort_word_id",
            "description": "<p>侵权词ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.word",
            "description": "<p>侵权词</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.source",
            "description": "<p>站点</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.hoder",
            "description": "<p>注册人</p>"
          },
          {
            "group": "Success 200",
            "type": "array[number]",
            "optional": false,
            "field": "rows.nice_cl",
            "description": "<p>类别ID列表</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.app_data",
            "description": "<p>侵权词时间</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.status",
            "description": "<p>侵权词状态</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.updated_at",
            "description": "<p>爬取更新时间 13位时间戳</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.deleted_at",
            "description": "<p>13位时间戳   null:词为正常有效  !null:词为作废删除</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/tortious.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/tortious"
      }
    ]
  },
  {
    "type": "get",
    "url": "/tortious-list",
    "title": "侵权词列表 (同步词库)",
    "name": "tortious-list",
    "description": "<p>侵权词列表</p>",
    "group": "Tortious",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": true,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "size": "1-200",
            "optional": true,
            "field": "page_size",
            "defaultValue": "50",
            "description": "<p>每页大小</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "source",
            "description": "<p>站点</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "last_sync_stime",
            "description": "<p>上次同步时间起 13位</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "last_sync_etime",
            "description": "<p>上次同步时间止 13位</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "updated_stime",
            "description": "<p>上次更新时间起 13位</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "updated_etime",
            "description": "<p>上次更新时间止 13位</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "page",
            "description": "<p>当前页码</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "size": "1-200",
            "optional": false,
            "field": "page_size",
            "description": "<p>每页大小</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "count",
            "description": "<p>查询总量</p>"
          },
          {
            "group": "Success 200",
            "type": "array[object]",
            "optional": false,
            "field": "rows",
            "description": "<p>数据列表</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.tort_word_id",
            "description": "<p>侵权词ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.word",
            "description": "<p>侵权词</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.source",
            "description": "<p>站点</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.hoder",
            "description": "<p>注册人</p>"
          },
          {
            "group": "Success 200",
            "type": "array[number]",
            "optional": false,
            "field": "rows.nice_cl",
            "description": "<p>类别ID列表</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.app_data",
            "description": "<p>侵权词时间</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.status",
            "description": "<p>侵权词状态</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.updated_at",
            "description": "<p>爬取更新时间 13位时间戳</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "rows.last_sync_time",
            "description": "<p>上次同步时间 13位时间戳</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/tortious.js",
    "groupTitle": "Tortious",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/tortious-list"
      }
    ]
  },
  {
    "deprecated": {
      "content": "The API not enabled"
    },
    "type": "post",
    "url": "/login",
    "title": "用户登录",
    "name": "login",
    "description": "<p>系统用户登录</p>",
    "group": "User-not_enabled",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "username",
            "description": "<p>user name</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "password",
            "description": "<p>user password</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "data",
            "description": "<p>数据对象</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.user_id",
            "description": "<p>用户ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "data.status",
            "description": "<p>用户状态 0:作废 1:正常</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "data.token",
            "description": "<p>验证token</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/user.js",
    "groupTitle": "User-not_enabled",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/login"
      }
    ]
  },
  {
    "deprecated": {
      "content": "The API not enabled"
    },
    "type": "put",
    "url": "/user",
    "title": "修改用户",
    "name": "modify-user",
    "description": "<p>修改用户密码</p>",
    "group": "User-not_enabled",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "username",
            "description": "<p>old user username</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "old_password",
            "description": "<p>old user password</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "new_password",
            "description": "<p>new user password</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/user.js",
    "groupTitle": "User-not_enabled",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/user"
      }
    ]
  },
  {
    "deprecated": {
      "content": "The API not enabled"
    },
    "type": "post",
    "url": "/refresh-token",
    "title": "刷新token认证",
    "name": "refreshToken",
    "description": "<p>刷新token认证</p>",
    "group": "User-not_enabled",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>新token</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/user.js",
    "groupTitle": "User-not_enabled",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/refresh-token"
      }
    ]
  },
  {
    "deprecated": {
      "content": "The API not enabled"
    },
    "type": "get",
    "url": "/user-list",
    "title": "获取用户列表",
    "name": "user-list",
    "description": "<p>获取用户列表</p>",
    "group": "User-not_enabled",
    "permission": [
      {
        "name": "用户认证"
      }
    ],
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户认证字段</p>"
          }
        ]
      }
    },
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "page_size",
            "defaultValue": "20",
            "description": "<p>每页大小</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": true,
            "field": "status",
            "description": "<p>用户状态 0:作废 1:正常 无：全部</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": true,
            "field": "username",
            "description": "<p>用户名 支持模糊搜索</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "errcode",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "message",
            "description": "<p>提示语</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "count",
            "description": "<p>查询总数</p>"
          },
          {
            "group": "Success 200",
            "type": "Array[Object]",
            "optional": false,
            "field": "rows",
            "description": "<p>数据列表</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.user_id",
            "description": "<p>用户ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "rows.username",
            "description": "<p>用户名</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "app/controller/user.js",
    "groupTitle": "User-not_enabled",
    "sampleRequest": [
      {
        "url": "http://172.20.0.141:7001/user-list"
      }
    ]
  }
] });
